/*
 * Thread.cpp
 *
 *	Author: stravant
 *	Description:
 *		
 */

#include "Thread.h"

namespace tbt {

Ref<WorkerThread> StartWorkerThread() {
	Ref<WorkerThread> th = new WorkerThread();
	th->launch();
	while (!th->getEventLoop()->isRunning());
	return th;
}

}
